/* -- Blog Typography ---------------------------------------- */

.blog-heading,
.post-title,
.post-body h2,
.post-body h3 {
  font-family: "Source Serif 4", "Georgia", serif;
}

.post-body,
.post-excerpt,
.blog-tagline {
  font-family: "Merriweather", "Georgia", serif;
}

/* -- Blog Index --------------------------------------------- */

.blog-header {
  padding: 40px 0 24px;
}

.blog-header h1 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.blog-tagline {
  font-size: 15px;
  color: #475569;
  margin: 0;
}

/* Featured Card */
.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.featured-card-image {
  position: relative;
  overflow: hidden;
}

.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card-body {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-tag {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.featured-card-body .post-title {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.featured-card-body .post-title a {
  color: var(--text);
}

.featured-card-body .post-title a:hover {
  color: var(--cyan);
  opacity: 1;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 12px;
}

.post-meta {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  gap: 12px;
  align-items: center;
}

.post-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #CBD5E1;
}

@media (max-width: 700px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-card-body {
    padding: 16px;
  }
}

/* Latest Content List */
.latest-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  margin: 0 0 16px;
  font-family: "DM Sans", sans-serif;
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.post-list-item:last-child {
  border-bottom: none;
}

.post-list-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.post-list-body .pillar-tag {
  margin-bottom: 4px;
}

.post-list-body .post-title {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 4px;
}

.post-list-body .post-title a {
  color: var(--text);
}

.post-list-body .post-title a:hover {
  color: var(--cyan);
  opacity: 1;
}

.post-list-desc {
  font-family: "Merriweather", serif;
  font-size: 13px;
  color: #475569;
  margin: 0 0 4px;
  line-height: 1.5;
}

/* -- Single Post -------------------------------------------- */

.post-header {
  text-align: center;
  max-width: 680px;
  margin: 40px auto 24px;
}

.post-header .pillar-tag {
  margin-bottom: 12px;
}

.post-header .post-title {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.post-header .post-meta {
  justify-content: center;
}

.post-hero {
  max-width: 680px;
  margin: 0 auto 24px;
}

.post-hero img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.post-embed {
  max-width: 680px;
  margin: 0 auto 32px;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.78;
  color: #1E293B;
}

.post-body h2 {
  font-size: 24px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}

.post-body h3 {
  font-size: 19px;
  margin: 28px 0 10px;
}

.post-body p {
  margin: 0 0 18px;
}

.post-body ul,
.post-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.post-body li {
  margin-bottom: 6px;
}

.post-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 18px 0;
}

.post-body blockquote {
  border-left: 3px solid var(--cyan);
  margin: 18px 0;
  padding: 4px 0 4px 18px;
  color: #475569;
  font-style: italic;
}

.post-body code {
  font-size: 0.9em;
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
}

.post-body pre {
  background: #1E293B;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin: 18px 0;
}

.post-body pre code {
  background: none;
  padding: 0;
  color: #E2E8F0;
  font-size: 13.5px;
}
